package com.central;

import com.central.common.ribbon.annotation.EnableFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * 注解 @EnableDiscoveryClient：服务发现注册
 * 注解 @EnableRedisHttpSession：分布式 Session 支持
 * @author: ly
 * @date: 2020/11/17 10:11 上午
 * @email: 664162337@qq.com
 */
@EnableFeignClients
@EnableFeignInterceptor
@EnableDiscoveryClient
@EnableRedisHttpSession
@SpringBootApplication
public class UaaServerApp {

    public static void main(String[] args) {
        SpringApplication.run(UaaServerApp.class, args);
    }
}

